/*app.wxss*/

page {
	background: #f7f7f7;
	font-size: 32rpx;
}

::-webkit-scrollbar {
  display:none;
  width:0;
  height:0;
  color:transparent;
}


/* #ifndef APP-PLUS-NVUE */
view,
scroll-view,
swiper,
swiper-item,
cover-view,
cover-image,
icon,
text,
rich-text,
progress,
button,
checkbox,
form,
input,
label,
radio,
slider,
switch,
textarea,
navigator,
audio,
camera,
image,
video {
	box-sizing: border-box;
}
image{
	display: block;
}
text{
	line-height: 1;
	/* font-family: Helvetica Neue, Helvetica, sans-serif; */
}
button{
	padding: 0;
	margin: 0;
	background-color: rgba(0,0,0,0) !important;
}
button:after{
	border: 0;
}
.bottom-fill{
	height: constant(safe-area-inset-bottom);
	height: env(safe-area-inset-bottom); 
}
.fix-bot{
	box-sizing: content-box;
	padding-bottom: constant(safe-area-inset-bottom);
	padding-bottom: env(safe-area-inset-bottom); 
}

/* 边框 */
.round{
	position: relative;
	border-radius: 100rpx;
}
.round:after{
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 200%;
	height: 200%;
	transform: scale(.5) translate(-50%,-50%);
	border: 1px solid #878787;
	border-radius: 100rpx;
	box-sizing: border-box;
}
.b-b:after{
	position: absolute;
	z-index: 3;
	left: 0;
	top: auto;
	bottom: 0;
	right: 0;
	height: 0;
	content: '';
	border-bottom: 2rpx solid $borderColor;
}
.b-t:before{
	position: absolute;
	z-index: 3;
	left: 0;
	top: 0;
	right: 0;
	height: 0;
	content: '';
	transform: scaleY(.5);
	border-bottom: 2rpx solid #eee;
}
.b-r:after{
	position: absolute;
	z-index: 3;
	right: 0;
	top: 0;
	bottom: 0;
	width: 0;
	content: '';
	transform: scaleX(.5);
	border-right: 2rpx solid #eee;
}
.b-l:before{
	position: absolute;
	z-index: 3;
	left: 0;
	top: 0;
	bottom: 0;
	width: 0;
	content: '';
	transform: scaleX(.5);
	border-left: 1px solid #e5e5e5;
}
.b-b, .b-t, .b-l, .b-r{
	position: relative;
}
/* 点击态 */
.hover-gray {
	background: #fafafa !important;
}
.hover-dark {
	background: #f0f0f0 !important;
}

.hover-opacity {
	opacity: 0.7;
}

/* #endif */

.clamp {
	/* #ifdef APP-PLUS-NVUE */
	lines: 1;
	/* #endif */
	/* #ifndef APP-PLUS-NVUE */
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: block;
	/* #endif */
}
.clamp2 {
	/* #ifdef APP-PLUS-NVUE */
	lines: 2;
	/* #endif */
	/* #ifndef APP-PLUS-NVUE */
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	/* #endif */
}

/* 布局 */
.row{
	/* #ifndef APP-PLUS-NVUE */
	display:flex;
	/* #endif */
	flex-direction:row;
	align-items: center;
}
.column{
	/* #ifndef APP-PLUS-NVUE */
	display:flex;
	/* #endif */
	flex-direction: column;
}
.center{
	/* #ifndef APP-PLUS-NVUE */
	display:flex;
	/* #endif */
	align-items: center;
	justify-content: center;
}
.fill{
	flex: 1;
}
/* input */
.placeholder{
	color: #ccc !important;
	font-size: 28rpx;
}

.container {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.phcolor {
	color: #ccc;
	font-size: 28rpx;
}

button::after {
	border: none;
}

.opcity {
	opacity: 0.5;
}

.hover {
	background: #f7f7f9 !important;
}

.ellipsis {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/*列表统一样式 */

.list-item {
	position: relative;
}

.list-item::after {
	content: '';
	position: absolute;
	border-bottom: 1upx solid #eaeef1;
	-webkit-transform: scaleY(0.5);
	transform: scaleY(0.5);
	bottom: 0;
	right: 0;
	left: 30rpx;
}

.last::after {
	border-bottom: 0 !important;
}

/*按钮样式*/

.btn-primary {
	width: 100%;
	height: 80rpx;
	line-height: 80rpx;
	border-radius: 40rpx;
	color: #fff;
	font-size: 28rpx;
}

.btn-hover {
	color: #d5d4d9;
	//background: $themeColor;
}

.btn-gray {
	background: #ededed;
	color: #999 !important;
}

.btn-gray-hover {
	background: #d5d5d5 !important;
	color: #898989;
}

.btn-white {
	background: #fff;
	color: #333 !important;
}

.tui-white-hover {
	background: #e5e5e5 !important;
	color: #2e2e2e !important;
}

.btn-disabled {
	color: #fafbfc !important;
	background: linear-gradient(-90deg, #cad8fb, #c9d3fb);
}

/* 底部tab导航样式 */
uni-tabbar .uni-tabbar__icon{
	width: 42rpx;
	height: 40rpx;
}
uni-tabbar .uni-tabbar__label{
	font-size:24rpx;
}
.tui-product-list {
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	flex-wrap: wrap;
	box-sizing: border-box;
}
.tui-product-container {
	flex: 1;
	margin-right: 2%;
	&:last-child {
		margin-right: 0;
	}
}
.tui-pro-item {
	width: 100%;
	margin-bottom: 4%;
	background: #fff;
	box-sizing: border-box;
	border-radius: 12rpx;
	overflow: hidden;
	&:last-child {
		margin-bottom: 0% !important;
	}
}
.tui-pro-img {
	width: 100%;
	display: block;
}
.tui-pro-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
	padding: 20rpx;
}
	
.tui-pro-tit {
	color: #2e2e2e;
	font-size: 28rpx;
	word-break: break-all;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
	
.tui-sale-price {
	font-size: 32rpx;
	font-weight: 500;
	color: $red !important;
}
.tui-factory-price {
	font-size: 24rpx;
	color: #a0a0a0;
	text-decoration: line-through;
	padding-left: 12rpx;
}
.tui-pro-num {
	padding: 10rpx 0;
	font-size: 24rpx;
	color: #a0a0a0;
}
.tui-brokerage {
	padding-bottom: 10rpx;
	font-size: 24rpx;
	color: #fff;
	.tui-brokerage-left {
		border-radius: 8rpx 0 0 8rpx;
		padding: 2rpx 8rpx;
	}
	.tui-brokerage-right {
		border-left: none;
		padding: 0 4px;
		border-radius: 0 8rpx 8rpx 0;
	}
}
.tui-loadmore-none {
	margin: 30rpx auto !important;
	line-height: 30rpx !important;
}


/* 我的 */
.tui-mybg-box {
	width: 100%;
	height: 340rpx;
	position: absolute;
	left:0;
	top:0;
	box-sizing: border-box;
		.bgimg{
			width: 100%;
			height: 100%;
			position: absolute;
			left:0;
			right: 0;
			top:0;
			bottom: 0;
			z-index: -1;
		}
}
.tui-header-center {
		width: 100%;
		height: 120rpx;
		margin-top: 70rpx;
		padding: 0 30rpx;
		box-sizing: border-box;
		display: flex;
		// align-items: center;
		justify-content: center;

		.headerImg {
			position: relative;
			.crown {
				width: 100rpx;
				height: 60rpx;
				position: absolute;
				top:-44rpx;
				left: 50%;
				margin-left: -50rpx;
			}
		}

	}
.tui-nickname {
		font-size: 24rpx;
}
/* 多选框样式 */
/deep/ .tui-checkbox .wx-checkbox-input {
	width: 30rpx;
	height: 30rpx;
	border-radius: 8rpx;
	margin: 0;
}

/deep/ .tui-checkbox .wx-checkbox-input.wx-checkbox-input-checked {
	// background-image:linear-gradient(to right,$bgGradient1,$bgGradient2);
	width: 34rpx;
	height: 34rpx;
	border: none;
	color: #fff;
	font-size: 24rpx;
}

/deep/ .tui-checkbox .uni-checkbox-input{
	width: 30rpx !important;
	height: 30rpx !important;
	border-radius: 8rpx!important;
	margin: 0;
}

.tui-checkbox .uni-checkbox-input.uni-checkbox-input-checked {
	// background: $themeColor;
	// background-image:linear-gradient(to right,$bgGradient1,$bgGradient2);
	width: 34rpx;
	height: 34rpx;
	border: none;
	color: #fff;
	font-size: 24rpx;
}


.tabbar-category {
	width: 100%;
	height: 100rpx;
	background: #fff;
	position: fixed;
	left: 0;
	bottom: 100rpx;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-left: 30rpx;
	box-sizing: border-box;
	font-size: 24rpx;
	z-index: 99999;
}

.tabbar-category::before {
	content: '';
	width: 100%;
	border-top: 1rpx solid #d9d9d9;
	position: absolute;
	top: 0;
	left: 0;
	-webkit-transform: scaleY(0.5);
	transform: scaleY(0.5);
}

.tui-checkAll {
	display: flex;
	align-items: center;
}

.tui-checkbox-pl {
	padding-left: 12rpx;
}



.price-color{
	color:$red;
}

.tui-tabbar {
	width: 100%;
	height: calc(98rpx +env(safe-area-inset-bottom));
	background: #fff;
	position: fixed;
	left: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: space-around;
	font-size: 26rpx;
	padding-bottom: env(safe-area-inset-bottom);
	z-index: 999;
	
}
.tui-tabbar::before {
	content: '';
	width: 100%;
	border-top: 1rpx solid $borderColor;
	position: absolute;
	top: 0;
	left: 0;
}
.tui-checkAll{
		display: flex;
		justify-content: space-between;
		width:65%;
		font-size: 28rpx;
		margin-right: 3%;
		.check-group{
			line-height: 60rpx;
		}
	}
.category-btn{
	width:32%;
	height: 100%;
	// line-height: 100rpx;
	// text-align: center;
	// color:#fff;
	// background: $themeColor;
	// font-size: 28rpx;
	
	box-sizing: border-box;
	padding-top:15rpx;
}

.tui-avatar {
	flex-shrink: 0;
	width: 120rpx;
	height: 120rpx;
	display: block;
	// border: 1px solid $borderColor;
	border-radius: 50%;
}

.yxf-cell-box {
	width: 100%;
	height: 100rpx;
	line-height: 100rpx;
	color: #333;
	font-size: 30rpx;
	border-bottom: 2rpx solid #eee;
	display: flex;
	.cell-left{
		width:50rpx;
		text-align: center;
		.iconfont{
			font-size: 18px;
		}
	}
	.cell-center{
		flex:1;
		height: 100rpx;
		line-height: 100rpx;
		font-size: 28rpx;
	}
	.cell-btn{
		margin-top:22rpx;
	}
}
.yxf-btn-box{
	margin:40rpx 5% 20rpx;
	width:90%;
	.btn-primary{
		height: 90rpx;
		line-height: 90rpx;
		font-size: 32rpx;
		border-radius: 45rpx;
	}
}
.tui-box {
	width: 100%;
	background: #fff;
	box-shadow: 0 3rpx 20rpx rgba(183, 183, 183, 0.1);
	border-radius: 10rpx;
	overflow: hidden;
}
.tui-content-box {
	width: 100%;
	padding: 0 16rpx;
	box-sizing: border-box;
	position: relative;
	top: 0rpx;
	z-index: 10;
}

.common-submit-btn{
	.btn-primary,
	.btn{
		height: 90rpx;
		line-height: 90rpx;
		border-radius: 45rpx;
		font-size: 30rpx;
	}
}

.tui-badge {
	position: absolute;
	font-size: 24rpx;
	height: 32rpx;
	min-width: 32rpx;
	padding: 0 6rpx;
	border-radius: 40rpx;
	right: 10rpx;
	top: -5rpx;
	transform: scale(0.8) translateX(60%);
	transform-origin: center center;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
}

.tui-badge-red {
	background: $red;
	color: #fff;
}

.bot-btn-wrap{
position: fixed;
left: 0;

bottom: constant(safe-area-inset-bottom);
bottom: env(safe-area-inset-bottom);
z-index: 90;
width: 100%;
padding:20rpx 0;
background-color: #f5f5f5;
border-top:2rpx solid #eee;
}
.bg-none{
	background:transparent;
	border-top:none;
}
//加载界面
.loadingView {
	width: 100%;
	height: 100vh;
	z-index: 99999;
	position: fixed;
	top: 0;
	left: 0;
	background:rgba(255,255,255,.9)
}
.loading-con{
	width:140rpx;
	height: 140rpx;
	position: fixed;
	z-index: 999999;
	left: 50%;
	top: 50%;
	margin-left: -70rpx;
	margin-top: -70rpx;
}
.loading-con1{
	display: block;
	width: 140rpx;
	height: 140rpx;
	margin: 10rpx auto;
}
.cell-icon{
	width:40rpx;
	height:40rpx;
	display: inline-block;
	border-radius: 50%;
	color: #fff;
	text-align: center;
	line-height: 42rpx;
	margin-right: 10rpx;
	font-size: 22rpx;
}

.tui-cell-header {
	width: 100%;
	height: 80rpx;
	padding: 0 26rpx;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	.iconxiangyou{
		margin-top:10rpx;
	}
}
		
.tui-cell-title {
	font-size: 30rpx;
	line-height: 30rpx;
	color: #333;
	flex: 1;
	font-weight: bold;
}
.tui-btn-edit {
	flex-shrink: 0;
	font-size: 36rpx;
	position: absolute;
	top: 20rpx;
	right: 20rpx;
	padding: 10rpx;
	width:136rpx;
	display: flex;
	justify-content: space-between;

	.iconfont {
		font-size: 36rpx;
		// background-color: rgba(255,255,255,.5);
		width: 54rpx;
		height: 54rpx;
		line-height: 54rpx;
		border-radius: 50%;
		color: #585858;
		text-align: center;
		box-shadow: 0 0 20rpx solid #ccc;
	}
	.yellow{
		color: #f4b406;
	}
}

.tui-userMobile{
	color: #333;
	margin-left: 20rpx;
	.agencyId{
		max-width: 350rpx;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-size: 30rpx;
		margin-bottom: 8rpx;
		padding-left: 4rpx;
		font-weight: bold;
	}
	.memberCodeWord{
		// background: #DC5A53;
		text-align: center;
		border-radius: 23rpx;
		margin-top: 10rpx;
		padding: 4rpx 20rpx 6rpx 6rpx;
		font-size: 24rpx;
		color: #666;
	}
}

.my-cell-icon{
	width:70rpx;
	height:70rpx;
	// border-radius: 50%;
	// color: #fff;
	text-align: center;
	line-height: 42rpx;
	// margin-right: 10rpx;
	font-size: 40rpx;
	// background: #eee;
	overflow: hidden;
	image{
		width:70rpx;
		height:70rpx;
	}
}
//搜索框
.home-headers {
	width: 100%;
	height: 100rpx;
	padding: 0 32rpx;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #fff;
	// position: fixed;
	// top: 0;
	// left: 0;
	// z-index: 999;
	
	.home-search {
		width: 100%;
		height: 60rpx;
		padding: 0 20rpx;
		box-sizing: border-box;
		background: #fff;
		display: flex;
		align-items: center;
		flex-wrap: nowrap;
		color: #999;
		border-radius: 50rpx;
		border: 1px solid #ED716A;
		.iconsousuohome{
			font-size: 36rpx;
			font-weight: bold;
			color: #ccc;
			margin-right: 10rpx;
		}
		.home-search-text {
			font-size: 26rpx;
			color: #ccc;
		}
	}
	&.search-pos {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 999;
	}
}